package com.jinlejia.erp.base;


/**
 * 撩客-访客相关
 */
public final class VisitorApiConfig {

    private static String IP() {
//        return "http://192.168.1.100:";
        return ApiConfig.IP();
    }

    public static String HEADER_URL() {
        return "https://tx.image.jinlejia.com/avatar/";
    }

    public static String MAGEHEADER_URL() {
        return "https://image.jinlejia.com/images/";
    }

    //region 绑定微信
    public static final String BINDING_WECHAT = ApiConfig.IP().concat("5201/user/saveUserWx");

    //解绑微信
    public static final String REMOVE_WECHAT = ApiConfig.IP().concat("5201/user/removeUserWx");

    //上传微信二维码
    public static final String PUTTOWECHAT_TWOMA = ApiConfig.IP().concat("5201/user/updateUserWxQr");
    //endregion

    //region 访客相关

    //访客汇总 列表
    public static final String listCollect = IP().concat("5454/houseRecordVisit/listCollect");

    //访客列表 (最近访客)
    public static final String recordVisit = IP().concat("5454/houseRecordVisit/list");

    //访客统计
    public static final String houseStatis = IP().concat("5454/houseRecordVisit/houseStatis/");

    //访客详情 -访客列表进入
    public static final String getCustomerByGuestsCode = IP().concat("5454/customerVisit/getCustomerByGuestsCode/");

    //访客详情 -客源详情需要
    public static final String getCustomerByCsCode = IP().concat("5454/customerVisit/getCustomerByCode/");

    //访客详情-聊天进入
    public static final String getInfoByOpenid = IP().concat("5454/customerVisit/getInfoByOpenid/");

    //访客雷达
    public static final String visitRadar = IP().concat("5454/houseRecordVisit/radar/");


    //解除关联访客
    public static final String CLEARBINDINGVISITOR = IP().concat("5454/customerVisit/deleteCustomer");

    //访客雷达
    public static final String VISITORLEIDA = IP().concat("5454/houseRecordVisit/radar/");

    //客源自动匹配项目个数
    public static final String AutomaticMatchingCount = IP().concat("5101/customer/countHouseByCus");

    //自动匹配项目列表
    public static final String AUTOMATICMATCHINGPRIJECT = IP().concat("5101/customer/listHouseByCus");

    //查询是否已经带看
    public static final String ISSHOWROOM = IP().concat("5103/showroom/countShowByCode/");

    //给微信发送订阅消息
    public static final String SendWXSubscription = IP().concat("5454/customerVisit//sendMessage/");

    //关联访客
    public static final String saveCustomer = IP().concat("5454/customerVisit/saveCustomer");

    //关联访客 - 聊天
    public static final String saveCustomerOpenId = IP().concat("5454/customerVisit/saveCustomerOpenId");
    //endregion

    //region 分享
    public static final String GETSHARECODE = IP().concat("5454/share/getShareCode");

    public static final String SAVESHARE = IP().concat("5454/share/saveShare");
    //endregion
}
